package com.mark.service.impl;

import com.mark.entity.school.USubject;
import com.mark.mapper.USubjectClassRelationMapper;
import com.mark.mapper.USubjectMapper;
import com.mark.service.USubjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (USubject)表服务实现类
 *
 * @author Deng PengFei
 * @since 2021-10-27 11:17:44
 */
@Service
public class USubjectServiceImpl implements USubjectService {
    @Autowired
    private USubjectMapper uSubjectMapper;
    @Autowired
    private USubjectClassRelationMapper uSubjectClassRelationMapper;

    /**
     * 获取科目列表
     *
     * @return 对象列表
     */
    @Override
    public List<USubject> getSubList() {
        return this.uSubjectMapper.getSubList();
    }
}